package name.jautzy.esi.server.model;


import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;

@Root(name="fitting")
public class XmlFit {
	@Attribute
	private String name;
	
	@Element
	private XmlDesc description;
	
	@Element
	private XmlType shipType;
	
	@ElementList(inline=true)
	private List<XmlSlot> slots;
	
	public XmlFit() {
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	

	public void setSlots(List<XmlSlot> slots) {
		this.slots = slots;
	}

	public List<XmlSlot> getSlots() {
		return slots;
	}

	public void setDescription(XmlDesc description) {
		this.description = description;
	}

	public XmlDesc getDescription() {
		return description;
	}

	public void setShipType(XmlType shipType) {
		this.shipType = shipType;
	}

	public XmlType getShipType() {
		return shipType;
	}

}
